<?php
session_id($_GET['PHPSESSID']);
//$sessid=session_id($_GET['sessid']);
session_start();
if(empty($_SESSION)){
    echo "购物车没添加东西";
    exit();
}
foreach($_SESSION as $key=>$val){
    echo "购买的书号是--$key  购买的书名是 $val <br/>";
}
echo "<a href='myhall.php?".SID."'>返回购物大厅</a>";
?>